#include "iexec.h"

class CExec : public i_exec_t
{
public:
   virtual void canvassize (double x, double y);
   virtual void reset (void);
   virtual void clear (void);
   virtual void hide (void);
   virtual void canvascolor (double r, double g, double b);
   virtual void pencolor (double r, double g, double b);
   virtual void penwidth (double w);
   virtual void go (double x, double y);
   virtual void direction (double d);
   virtual void turnright (double d);
   virtual void turnleft (double d);
   virtual void forward (double d);
   virtual void backward (double d);
   virtual void fontsize (double n);
   virtual void print (char* str);
   virtual void penup (void);
   virtual void pendown (void);
   virtual void center (void);
   virtual void gox (double d);
   virtual void goy (double d);
   virtual void wrapon (void);
   virtual void wrapoff (void);
   virtual void show (void);
   /* the returned string shall NOT be freed by the caller. */
   virtual char* inputwindow (char* str);
   virtual void message (char* str);
   virtual void debug_info (char* str);
   virtual void error_info (char* str);
};
